<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace app\agent\controller;

class Index
{
    public function index()
    {
        $timestamp = "?v=" . time();
        $is_we7 = defined("IS_WEIQIN") ? true : false;
        $appcss = $is_we7 ? "/addons/" . APP_MODEL_NAME . "/core2/public/agent/static/css/app.css" : "/agent/static/css/app.css";
        $manifest = $is_we7 ? "/addons/" . APP_MODEL_NAME . "/core2/public/agent/static/js/manifest.js" : "/agent/static/js/manifest.js";
        $vendor = $is_we7 ? "/addons/" . APP_MODEL_NAME . "/core2/public/agent/static/js/vendor.js" : "/agent/static/js/vendor.js";
        $app = $is_we7 ? "/addons/" . APP_MODEL_NAME . "/core2/public/agent/static/js/app.js" : "/agent/static/js/app.js";
        $jsPath = $is_we7 ? "/addons/" . APP_MODEL_NAME . "/core2/public/agent/" : "/agent/";
        global $_W;
        $is_founder = isset($_W["isfounder"]) ? $_W["isfounder"] : false;
        \think\facade\View::assign("jsPath", $jsPath);
        \think\facade\View::assign("isWe7", $is_we7);
        \think\facade\View::assign("is_founder", $is_founder);
        \think\facade\View::assign("appcss", $appcss . $timestamp);
        \think\facade\View::assign("manifest", $manifest . $timestamp);
        \think\facade\View::assign("vendor", $vendor . $timestamp);
        \think\facade\View::assign("app", $app . $timestamp);
        return \think\facade\View::fetch();
    }
}

?>